module.exports = {
  style: {
    modules: {
      localIdentName: "[local]_[hash:base64:5]",
    },
    css: {
      loaderOptions: {
        importLoaders: 1,
      },
    },
    preProcessorOptions: {
      less: {
        javascriptEnabled: true, // 允许在.less文件中使用JavaScript
      },
    },
  },
};
